package com.example.server.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class Order implements Serializable {

    @Serial
    private static final long serialVersionUID = -6237225666742429582L;

    private Integer id;
    private int uid;
    private double total;
    private int sta;
    private int aid;
    private int sid;
    private Date time;

    private List<OrderItem> orderItems;
    private Address address;
    private Store store;
}
